﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AMEE.LogViewer
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml.<para>
    /// Code by HighCore (http://stackoverflow.com/users/643085/highcore),
    /// http://stackoverflow.com/questions/16743804/implementing-a-log-viewer-with-wpf
    /// </para>
    /// </summary>
    public partial class MainWindow : Window
    {
        //private List<string> words;
        //private int maxword;
        //private int index;

        public ObservableCollection<LogEntry> LogEntries { get; set; }


        public MainWindow() {
            InitializeComponent();
            LogEntries = new ObservableCollection<LogEntry>();
            this.DataContext = LogEntries;
        }
    }
}
